package com.cn.xiaonuo.tcrfinance.tcrshops.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface MerchantBackMapper {

    //查询店铺商品列表
    List<Map<String, Object>> selectProductInfoDetail(@Param("productName")String productName,@Param("salesModeId")Integer salesModeId);

    //查询物流订单
    List<Map<String, Object>> selectOrderLogistics(@Param("deliveryStatus") Integer deliveryStatus, @Param("serialNumber") String serialNumber, @Param("shopId") Integer shopId);

    //交易记录
    List<Map<String, Object>> selectTradeDetail(@Param("sellAccounts") Integer sellAccounts, @Param("buyAccounts") Integer buyAccounts,
                                                @Param("serialNumber") String serialNumber, @Param("begin") String begin, @Param("end") String end, @Param("shopId") Integer shopId);

    //商家后台登陆
    Map<String, Object> selectShopUserLogin(@Param("accounts") String accounts, @Param("pwd") String pwd);
}
